<?php
include("include/config.inc.php");
foreach($_POST['chkfollow'] as $key => $value)
{
  $deselectStatus = "UPDATE dailyreportdetail SET status = 'D' WHERE dailyReportDetaileId = ".$value;
  $updateStatus = mysql_query($deselectStatus);
  header("location:index.php");
}
?>